/* 清除一些默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

/* 设置导航栏样式 */
.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0);
    transition: background 0.3s ease;
    z-index: 1000;
}

.navigation ul {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.navigation ul li {
    padding: 0 20px;
}

.navigation ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navigation ul li a:hover {
    color: #000;
}

/* 定义滚动后导航栏的样式 */
.navigation.scrolled {
    background: rgba(255, 255, 255, 0.8);
}